import java.util.Scanner;
public class Main {
        public static void main(String[] args) {
            Person p = new Person();
            Scanner scanner = new Scanner(System.in);
            while (scanner.hasNextInt()) {
                int age = scanner.nextInt();
                p.setAge(age);
                System.out.println(p.getAge());
            }
        }

    }

    class Person {

        private int age;
        public void setAge(int age){
            this.age=age;
        }

        public int getAge() {
            if(age< 0) {
                return 0;
            }else if(age>200){
                return 200;
            }else{
                return age;
            }
        }
    public static void main5(String[] args) {
        Scanner scan = new Scanner(System.in);
        boolean b=true;
        double sum=0.0;
        int count=0;
        double a=0;
        while(b!=false){
             a=scan.nextDouble();
            if(a>0){
                count++;
                sum=sum+a;
            }else{
                b=false;
            }
        }
        double avg= sum / count;
        System.out.println(String.format("%.2f",avg));
    }
        public static void main4(String[] args) {
            Scanner scanner=new Scanner(System.in);
            float h=scanner.nextFloat();
            int n =scanner.nextInt();
            float sum=h;
            for(int i=1;i<=n;i++) {
                h = h/2;
                if(i!=n)
                {
                    sum=sum+h*2;
                }
            }
            System.out.println(String.format("%.3f", h)+" "
                    +String.format("%.3f", sum));
        }
        public static void main3(String[] args) {
            Scanner console = new Scanner(System.in);
            int m = console.nextInt();
            int n = console.nextInt();
            int result = getCM(m, n);
            System.out.println(result);
        }

        public static int getCM(int m, int n) {
            int a = m < n ? m : n;
            int b = m > n ? m : n;
            for (int i = 1; i <= a; i++) {
                int tmp = b * i;
                if (tmp%a==0) {
                   return tmp;
                }
            }
            return -1;
        }

        public static void main2(String[] args) {
            int count = 0;
            Scanner scanner = new Scanner(System.in);
            while(true){
                int tmp=scanner.nextInt();
                if(tmp>0){
                    count++;
                }else {
                    break;
                }
            }
            System.out.println(count);
        }
        public static void main1(String[] args) {
            Scanner scanner = new Scanner(System.in);
            String grade =scanner.next();
            if(grade.equals("A")){
                System.out.println("优秀");
            }else if(grade.equals("B")){
                System.out.println("良好");
            }else if(grade.equals("C")){
                System.out.println("及格");
            }else if(grade.equals("D")){
                System.out.println("不及格");
            }else {
                System.out.println("未知等级");
            }
        }
    }
